// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.

namespace System.Activities
{
    using System;

    internal interface IInstanceNotificationListener
    {
        void AbortInstance(Exception reason, bool isWorkflowThread);
        void OnIdle();
        bool OnUnhandledException(Exception exception, Activity exceptionSource);
    }
}
